package com.wang.lottery.domain.strategy.model.res;

import com.wang.lottery.common.Constants;
import com.wang.lottery.domain.strategy.model.vo.DrawAwardInfo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author wjh
 * @create 2023-10-31 22:46
 * 抽奖响应体，包含奖品部分信息
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DrawResult {
    /**
     * 用户ID
     */
    private String userId;
    /**
     * 策略ID
     */
    private Long strategyId;
    /**
     * 中奖状态：0未中奖、1已中奖、2兜底奖 Constants.DrawState
     */
    private Integer drawStatus = Constants.DrawState.FAIL.getCode();
    /**
     * 中奖奖品信息
     */
    private DrawAwardInfo drawAwardInfo;


    public DrawResult(String uId, Long strategyId, Integer code) {
        
    }
}
